package com.calvin.combat.view;import android.app.Activity;import android.content.Intent;import android.os.Bundle;import android.view.Window;import android.widget.Toast;import com.calvin.combat.R;public class WebActivity extends Activity {	private String dataString;	@Override	protected void onCreate(Bundle savedInstanceState) {		super.onCreate(savedInstanceState);		requestWindowFeature(Window.FEATURE_NO_TITLE);		setContentView(R.layout.home_activity);		dataString = getIntent().getStringExtra("MainActivity");		Toast.makeText(this, dataString, Toast.LENGTH_SHORT).show();	}	@Override	public void onBackPressed() {		Intent intent = new Intent(this, WebActivity.class);		intent.putExtra("data_return", dataString + ",I am form WebActivity");		setResult(RESULT_OK, intent);		finish();	}}